﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DreamBuilder.Common
{
    /// <summary>
    /// 分页 Model
    /// </summary>
    [Serializable]
    public class PageInfo
    {
        /// <summary>
        /// 每页记录条数
        /// </summary>
        public int PageSize 
        { 
            get; 
            set; 
        }

        /// <summary>
        /// 页索引号
        /// </summary>
        public int PageIndex 
        { 
            get; 
            set; 
        }

        /// <summary>
        /// 记录总条数
        /// </summary>
        public int RecordCount
        { 
            get; 
            set;
        }

        /// <summary>
        /// 记录总页数
        /// </summary>
        public int PageCount
        {
            get;
            set;
        }
    }
}
